package cn.edu.zzuli.stack;

public class LinkStackDemo {

    public static void main(String[] args) {
        LinkStack<String> stack = new LinkStack<>();
        stack.push("1");
        stack.push("2");
        stack.push("3");

        System.out.println(stack.top());

        stack.list();

//        System.out.println(stack.getSize());
//        stack.pop();
//        System.out.println(stack.getSize());
//        stack.pop();
//        System.out.println(stack.getSize());
//        stack.pop();
//        System.out.println(stack.getSize());


//        stack.list();
    }
}
